package com.aspose.cells;

class zamj {
   private long[] a;
   private int b;

   zamj(int var1) {
      this.a = new long[var1];
   }

   int a() {
      return this.b;
   }

   void a(long var1) {
      if (this.b == this.a.length) {
         long[] var3 = new long[this.b << 1];
         System.arraycopy(this.a, 0, var3, 0, this.b);
         this.a = var3;
      }

      this.a[this.b++] = var1;
   }

   void a(int var1, int var2) {
      if (this.b > var2) {
         System.arraycopy(this.a, var2, this.a, var1, this.b - var2);
      }

      this.b -= var2 - var1;
   }

   long[] b() {
      long[] var1 = new long[this.b];
      System.arraycopy(this.a, 0, var1, 0, this.b);
      return var1;
   }
}
